
//
//  Goupiaojilu.m
//  WeiDuYY
//
//  Created by 张继良 on 2019/1/27.
//  Copyright © 2019 W ke杨. All rights reserved.
//

#import "Goupiaojilu.h"
#import <SDAutoLayout.h>
#import "MeViewController.h"

@interface Goupiaojilu ()

@end

@implementation Goupiaojilu

- (void)viewDidLoad {
    [super viewDidLoad];
    //主界面颜色
    self.view.backgroundColor = [UIColor whiteColor];
    //方法
    [self setNav];
}

-(void)setNav{
    //按钮
    UIButton *btn1 = [[UIButton alloc] init];
    //添加
    [self.view addSubview:btn1];
    // btn1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    //[self.tableView addSubview:btn1];
    btn1.sd_layout.leftSpaceToView(self.view, 20).topSpaceToView(self.view, 650).widthIs(60).heightIs(60);
    [btn1 setImage:[UIImage imageNamed:@"com_icon_my_default_hdpi"] forState:UIControlStateNormal];
    [btn1 addTarget:self action:@selector(Btnthree) forControlEvents:UIControlEventTouchUpInside];
    
}
-(void)Btnthree{
    MeViewController * M = [[MeViewController alloc]init];
    [self.navigationController popViewControllerAnimated:YES];
}

@end
